﻿namespace CommonData.Data.Core
{
    using System;
    using System.Data;

    public interface IDbProvider : IDisposable
    {
        void BeginTransaction();
        void Close();
        void Commit();
        void Open();
        void RollBack();

        IDbDataAdapter Adapter { get; set; }

        IDbCommand Command { get; set; }

        IDbConnection Connection { get; set; }

        string ConnectionString { get; set; }
    }
}

